function Hello({name="kate"}={}){
	this.name = name
}
Hello.prototype = {
	constructor: Hello,
	tom(){
		console.log("hellom tom")
		return this
	},
	jim(){
		console.log("hello jim")
		return this
	}
}

console.log(new Hello())

new Hello({name:"lili"}).tom().jim()